package com.xinghen.common.base.properties;

import com.xinghen.common.base.GlobalConstant;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xinghen
 * @ClassName: XinghenCloudProperties
 * @Package: com.xinghen.common.base.properties
 * @Description properties文件配置汇总
 * @create 2018-04-11 17:22
 */
@Data
@ConfigurationProperties(prefix = GlobalConstant.Config.ROOT_PREFIX)
public class XinghenCloudProperties {

    /**
     * 日志相关配置
     */
    private LogProperties log = new LogProperties();

    /**
     * swagger配置
     */
    private SwaggerProperties swagger = new SwaggerProperties();

    /**
     * 阿里云相关配置
     */
    private AliyunProperties aliyun = new AliyunProperties();

    /**
     * 七牛云相关配置
     */
    private QiniuProperties qiniu = new QiniuProperties();

    /**
     * zookeeper相关配置
     */
    private ZookeeperProperties zookeeper = new ZookeeperProperties();

    /**
     * 异步调度器配置
     */
    private AsyncTaskProperties task = new AsyncTaskProperties();

}
